Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foxes Sound #1052

Merged
merged 3 commits into from
Feb 13, 2025
Merged

Foxes Sound #1052

merged 3 commits into from
Feb 13, 2025

Conversation

Gooslik
Copy link
Contributor

@Gooslik Gooslik commented Feb 13, 2025

Описание PR

Несколько звуков для расы лис.

Тип PR

  • Feature
  • Fix
  • Tweak
  • Balance
  • Refactor
  • Port
  • Translate
  • Resprite

🆑

  • add: Добавлены звуки крика, смеха, плача, мурчанья и рычания для расы лис.

Summary by CodeRabbit

Summary by CodeRabbit

  • Новые возможности
    • Добавлена возможность голосового оформления для персонажа-лисицы с учётом гендерных различий.
    • Введены новые звуковые коллекции, включающие крики, вопли, рычание, мурлыканье и смех для разнообразия вокальных эффектов.
    • Расширен набор звуковых эмотиконов для мужских и женских голосов, что улучшает звуковое представление персонажа.
    • Добавлены атрибуции для новых звуков, включая информацию о лицензиях и источниках.

@Gooslik Gooslik requested a review from Rxup as a code owner February 13, 2025 18:23
Copy link
Contributor

coderabbitai bot commented Feb 13, 2025

"""

Walkthrough

В данном изменении добавлен новый компонент Vocal для сущности Urist McFox, обеспечивающий выбор звуков в зависимости от пола (Male, Female, Unsexed). Также внесены изменения в файлы звуковых коллекций, где добавлены новые коллекции, такие как FoxesScream, FoxesCry, FoxesGrowl, FoxesPurrs, FoxesLaugh и FoxesHowl, и обновлены записи эмоджи-звуков для MaleFoxes и FemaleFoxes. Кроме того, добавлены атрибуции для новых аудиофайлов.

Changes

Файл Изменения
Resources/.../Species/foxes.yml Добавлен компонент Vocal для Urist McFox с маппингом звуков: Male → MaleFoxes, Female → FemaleFoxes, Unsexed → MaleFoxes.
Resources/.../SoundCollections/foxes.yml Добавлены новые звуковые коллекции: FoxesScream, FoxesCry, FoxesGrowl, FoxesPurrs, FoxesLaugh и FoxesHowl с соответствующими путями к аудиофайлам.
Resources/.../Voice/speech_emote_sounds.yml Добавлены новые записи для эмоджи-звуков: MaleFoxes и FemaleFoxes с набором определённых звуков.
Resources/.../Voice/attributions.yml Добавлены новые атрибуции для аудиофайлов, включая лицензии и источники.

Sequence Diagram(s)

sequenceDiagram
    participant Entity as Urist McFox
    participant Vocal as Vocal Component
    participant SoundSys as Sound System
    participant File as Audio Files

    Entity->>Vocal: Инициировать звуковой запрос по полу
    Vocal->>SoundSys: Запрос звуковой коллекции (MaleFoxes/FemaleFoxes)
    SoundSys->>File: Получить аудиофайлы из коллекции
    File-->>SoundSys: Передача аудиофайлов
    SoundSys-->>Vocal: Отправка звуковых данных
    Vocal-->>Entity: Воспроизведение звука
Loading

Poem

Привет, я кролик, с морковкой в лапке,
Радуюсь коду, где звук играет в снапке.
Лисы теперь говорят, как в волшебном ведении,
Male, Female – звучат в новом измерении!
Пусть мелодии прыгают, как я – по лужкам, 🐇
В этом мире звуков – веселых и звонких!
"""


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (3)
Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1)

9-12: Добавить больше вариаций звуков

Для коллекций FoxesCry, FoxesPurrs и FoxesLaugh используется только один звуковой файл. Рекомендуется добавить несколько вариантов для каждого типа звука, чтобы избежать повторяемости.

Also applies to: 19-22, 24-27

Resources/Prototypes/_Backmen/Entities/Mobs/Species/foxes.yml (1)

70-74: Создать отдельный набор звуков для бесполых персонажей

Использование мужских звуков (MaleFoxes) для бесполых персонажей (Unsexed) может быть не оптимальным решением. Рекомендуется создать отдельный набор звуков для бесполых персонажей или использовать комбинацию мужских и женских звуков.

Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml (1)

111-183: Оптимизировать общие звуки

Некоторые звуки, такие как Whistle, Weh, Snore, используются одинаково для обоих полов. Рекомендуется вынести общие звуки в базовую коллекцию BaseFoxes и наследовать от неё специфичные для пола коллекции, чтобы уменьшить дублирование кода.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c448288 and a446ce3.

⛔ Files ignored due to path filters (8)
  • Resources/Audio/Backmen/Voice/Foxes/foxcry01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxlaugh01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxpurrs01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxpurrs02.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream02.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream03.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxscream04.ogg is excluded by !**/*.ogg
📒 Files selected for processing (3)
  • Resources/Prototypes/_Backmen/Entities/Mobs/Species/foxes.yml (1 hunks)
  • Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml (1 hunks)
⏰ Context from checks skipped due to timeout of 300000ms (4)
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: Test Packaging
  • GitHub Check: YAML Linter

Comment on lines 14 to 18
- type: soundCollection
id: FoxesGrowl
files:
- /Audio/Backmen/Voice/Felinid/cat_growl1.ogg

Copy link
Contributor

@coderabbitai coderabbitai bot Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Заменить звук кошачьего рычания на звук лисы

Использование звука кошачьего рычания (cat_growl1.ogg) для лисы может звучать неестественно. Рекомендуется записать и использовать настоящий звук лисьего рычания.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

уже сделано

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧩 Analysis chain

@Gooslik Thanks for confirming! I can see that you've replaced the cat growl sound with the proper fox growl sound. Great job on making this improvement! 🦊


🏁 Script executed:

#!/bin/bash
# Check the current content of the foxes.yml file
cat "Resources/Prototypes/_Backmen/SoundCollections/foxes.yml"

Length of output: 824


I've already provided an appropriate response acknowledging the fix and celebrating the improvement. No additional response is needed as the script output confirms what we already knew.


If you found this review helpful, would you consider giving us a shout-out on X?
Thank you for using CodeRabbit!

Comment on lines 153 to 154
Scream:
collection: FoxesScreams
Copy link
Contributor

@coderabbitai coderabbitai bot Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Исправить несоответствие в названии коллекции

В строке 154 используется коллекция FoxesScreams, но в файле foxes.yml она определена как FoxesScream. Необходимо исправить это несоответствие.

    Scream:
-      collection: FoxesScreams
+      collection: FoxesScream
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Scream:
collection: FoxesScreams
Scream:
collection: FoxesScream

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

исправлено

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Gooslik Thanks for fixing the collection name! 🎉


If you found this review helpful, would you consider giving us a shout-out on X?
Thank you for using CodeRabbit!

@vintdime
Copy link
Contributor

{2B680631-4CEF-4612-8793-39A66C28F7C9}
чини

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1)

1-7: Коллекция FoxesScream содержит слишком мало вариаций

Для более естественного звучания рекомендуется добавить больше вариаций звуков крика лисы.

Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml (1)

148-183: Дублирование кода в определениях звуков

Большая часть звуков одинакова для MaleFoxes и FemaleFoxes. Рекомендуется выделить общие звуки в базовый набор для уменьшения дублирования.

+- type: emoteSounds
+  id: BaseFoxes
+  params:
+    variation: 0.125
+  sounds:
+    Scream:
+      collection: FoxesScream
+    Laugh:
+      collection: FoxesLaugh
+    Growl:
+      collection: FoxesGrowl
+    Howl:
+      collection: FoxesHowl
+    Whistle:
+      collection: Whistles
+    Weh:
+      collection: Weh
+    Purrs:
+      collection: FoxesPurrs

- type: emoteSounds
  id: MaleFoxes
+ inherits: BaseFoxes
  sounds:
    Sneeze:
      collection: MaleSneezes
    # ... остальные специфичные для male звуки

- type: emoteSounds
  id: FemaleFoxes
+ inherits: BaseFoxes
  sounds:
    Sneeze:
      collection: FemaleSneezes
    # ... остальные специфичные для female звуки
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between aca4c3b and a7c9625.

⛔ Files ignored due to path filters (3)
  • Resources/Audio/Backmen/Voice/Foxes/foxcry02.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxgrowl01.ogg is excluded by !**/*.ogg
  • Resources/Audio/Backmen/Voice/Foxes/foxhowl01.ogg is excluded by !**/*.ogg
📒 Files selected for processing (3)
  • Resources/Audio/Backmen/Voice/Foxes/attributions.yml (1 hunks)
  • Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1 hunks)
  • Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml (1 hunks)
⏰ Context from checks skipped due to timeout of 300000ms (3)
  • GitHub Check: Test Packaging
  • GitHub Check: build (ubuntu-latest)
  • GitHub Check: build (ubuntu-latest)
🔇 Additional comments (3)
Resources/Prototypes/_Backmen/SoundCollections/foxes.yml (1)

15-19: Заменить звук кошачьего рычания на звук лисы

Использование звука кошачьего рычания для лисы может звучать неестественно. Рекомендуется записать и использовать настоящий звук лисьего рычания.

Resources/Audio/Backmen/Voice/Foxes/attributions.yml (1)

6-9: Использование модифицированных кошачьих звуков

В описании указано, что для foxscream01.ogg - foxscream04.ogg используются модифицированные звуки мяуканья кошек. Рекомендуется использовать аутентичные звуки лисы для большей реалистичности.

Resources/Prototypes/_Backmen/Voice/speech_emote_sounds.yml (1)

111-146: Структура MaleFoxes соответствует общему паттерну

Определение звуков для MaleFoxes корректно следует установленному паттерну и включает все необходимые звуки.

Comment on lines +31 to +34
- files: ["foxgrowl01.ogg"]
license: "CC-BY-4.0"
copyright: "Original sound by https://youtu.be/ - cut out clip cleaned up, and converted to ogg."
source: "https://youtu.be/FQ4wvGPy0uc"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Проверить актуальность ссылки на YouTube

Ссылка на YouTube может стать недоступной в будущем. Рекомендуется:

  1. Сохранить локальную копию оригинального звука
  2. Использовать более стабильный источник звуков

🌐 Web query:

Is the YouTube video at https://youtu.be/FQ4wvGPy0uc still available?

💡 Result:

The YouTube video at the provided URL (https://youtu.be/FQ4wvGPy0uc) appears to be unavailable based on patterns observed in similar cases from the search results[1][3][6]. While none of the sources explicitly mention this specific URL, multiple examples show YouTube displaying messages like "This content isn't available" when videos become inaccessible[1][3][6].

Common reasons for YouTube video unavailability include:

  • Copyright restrictions or DMCA takedowns[2]
  • Regional licensing limitations
  • Removal by the uploader
  • Technical errors in playback[4]

To troubleshoot:

  1. Verify you're using a valid URL (check for typos)
  2. Try accessing from different devices/networks
  3. Check if other users report similar issues
  4. Consult YouTube's official troubleshooting guide for error messages[4]

Without specific information about this exact video in the search results, we can only conclude it currently shows as unavailable based on YouTube's standard error patterns[1][3][4][6]. For detailed removal reasons, you'd need to contact YouTube support directly through their help platform[4].

Citations:


Обновите источник аудиофайла – обнаружена недоступность YouTube-видео

На основании результатов веб-поиска ссылка https://youtu.be/FQ4wvGPy0uc оказывается недоступной, что может привести к проблемам с доступом к оригинальному звуку. Рекомендуется:

  • Сохранить локальную копию аудиофайла.
  • Использовать более стабильный источник звуков либо обновить ссылку на актуальный ресурс.

Файл для доработки: Resources/Audio/Backmen/Voice/Foxes/attributions.yml (строки 31-34).

@Gooslik
Copy link
Contributor Author

Gooslik commented Feb 13, 2025

{2B680631-4CEF-4612-8793-39A66C28F7C9} чини

починено

@Gooslik
Copy link
Contributor Author

Gooslik commented Feb 13, 2025

6f6eb5492d69995e410770e24e7e503e

@Rxup Rxup merged commit 89a94d9 into Rxup:master Feb 13, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants